using UnityEngine;

public class Character : MonoBehaviour
{
    // 玩家速度
    public static float Speed
    {
        get
        {
            return GameManager.instance.playerId == 0 ? 1.1f : 1f;
        }
    }

    // 武器速度
    public static float WeaponSpeed
    {
        get
        {
            return GameManager.instance.playerId == 1 ? 1.1f : 1f;
        }
    }

    // 武器射速
    public static float WeaponRate
    {
        get
        {
            return GameManager.instance.playerId == 1 ? 0.9f : 1f;
        }
    }

    // 伤害值
    public static float Damage
    {
        get
        {
            return GameManager.instance.playerId == 2 ? 1.2f : 1f;
        }
    }

    // 数量
    public static int Count
    {
        get
        {
            return GameManager.instance.playerId == 3 ? 1 : 0;
        }
    }
}
